package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.api.WRecordRecharge;
import io.lettuce.core.dynamic.annotation.Param;

/**
 * 充值记录Service接口
 * 
 * @author ruoyi
 * @date 2022-04-22
 */
public interface IWRecordRechargeService 
{
    /**
     * 查询充值记录
     * 
     * @param id 充值记录主键
     * @return 充值记录
     */
    public WRecordRecharge selectWRecordRechargeById(Long id);

    /**
     * 查询充值记录列表
     * 
     * @param wRecordRecharge 充值记录
     * @return 充值记录集合
     */
    public List<WRecordRecharge> selectWRecordRechargeList(WRecordRecharge wRecordRecharge);

    /**
     * 新增充值记录
     * 
     * @param wRecordRecharge 充值记录
     * @return 结果
     */
    public int insertWRecordRecharge(WRecordRecharge wRecordRecharge);

    /**
     * 修改充值记录
     * 
     * @param wRecordRecharge 充值记录
     * @return 结果
     */
    public int updateWRecordRecharge(WRecordRecharge wRecordRecharge);

    /**
     * 批量删除充值记录
     * 
     * @param ids 需要删除的充值记录主键集合
     * @return 结果
     */
    public int deleteWRecordRechargeByIds(Long[] ids);

    /**
     * 删除充值记录信息
     * 
     * @param id 充值记录主键
     * @return 结果
     */
    public int deleteWRecordRechargeById(Long id);

    public Integer selectWRecordRechargeTotal(String createTime);
}
